import 'package:eh_mobile/common/apis/api_path.dart';
import 'package:eh_mobile/common/apis/network/network.dart';

class ControlAPI {
  static deviceWrite(int id, Map data) async {
    var respose =
        await Network().post(api_device_write, param: {'id': id, 'data': data});
    return respose;
  }
}
